<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" href="docgen-resources/docgen.css" type="text/css">
  <meta name="generator" content="FreeMarker Docgen (DocBook 5)">
  <title>
    FreeMarker Manual - 2.1.1
  </title>
    <script type="text/javascript" src="docgen-resources/jquery.js"></script>
    <script type="text/javascript" src="docgen-resources/linktargetmarker.js"></script>
</head>
<body>

    <div class="navigation">
    <div class="breadcrumb">
<span class="breadcrumb">        You are here:
          <a href="index.html">Book</a>
            <b>></b>
          <a href="app.html">Appendixes</a>
            <b>></b>
          <a href="app_versions.html">Versions</a>
            <b>></b>
          2.1.1
</span>    </div>
    <div class="bookmarks">
<span class="bookmarks">Bookmarks:
<a href="alphaidx.html">Alphabetical Index</a>, <a href="gloss.html">Glossary</a>, <a href="ref.html">Reference</a>, <a href="app_faq.html">FAQ</a>, <a href="api/index.html">Java API</a>, <a href="../index.html">FreeMarker Home</a></span>    </div>
    <div class="pagers">
      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
<div class="pagerButton"><a href="versions_2_1.html"><span class="hideA">Next page: </span>2.1</a></div><div class="pagerButton"><a href="versions_2_1_2.html">Previous page</a></div><div class="pagerButton"><a href="app_versions.html">Parent page</a></div><div class="pagerButton"><a href="index.html">Contents</a></div>      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
    </div>
    </div>

<div id="mainContent">

  
  
  
  
  <h1 class="rank_section1"
        id="pageTopTitle">
<a name="versions_2_1_1"></a>2.1.1  </h1>
    
    <div class="toc">
      <p>
        <b>
            Page Contents
        </b>
      </p>
      
  <ul class="noMargin">
      <li style="padding-bottom: 0.5em"><i><a href="#docgen_afterTheTOC">Intro.</a></i></li>
      <li>
        <a href="#autoid_224">Changes in FTL (FreeMarker Template Language)</a>
      </li>
      <li>
        <a href="#autoid_225">Changes on the Java side</a>
      </li>
  </ul>
    </div>
    <a name="docgen_afterTheTOC"></a>
    
<p>Date of release: 2002-11-04</p>
            
  
  
  
  <h2 class="rank_section2"
        >
<a name="autoid_224"></a>Changes in FTL (FreeMarker Template Language)  </h2>


              <div class="itemizedlist">
<ul>
            <li>
              <p>Multi-type variables that are both string and number or
              string and date are now output using their number or date value
              instead of the string value when used in the
              <tt style="color: #A03D10">${...}</tt> interpolation. This practically makes
              the string part of a string/number or a string/date variables
              useless.</p>
            </li>

            <li>
              <p>Bugfix: operator ``or'' (<tt style="color: #A03D10">||</tt>) worked
              wrongly when its left operand was a composite expression (e.g.
              the second <tt style="color: #A03D10">||</tt> in <tt style="color: #A03D10">false || true ||
              false</tt>; this was evaluated to <tt style="color: #A03D10">false</tt>,
              but it should be <tt style="color: #A03D10">true</tt>)</p>
            </li>

            <li>
              <p>Bugfix: Less-than sign inside comments confused the FTL
              parser (e.g. <tt style="color: #A03D10">&lt;#-- blah &lt; blah --&gt;</tt>);
              it commented out everything after the problematic
              comment.</p>
            </li>

            <li>
              <p>Bugfix: Comparing two numerical constants (e.g. <tt style="color: #A03D10">3
              == 3</tt>) caused internal error in the FTL parser, and
              aborted template processing with error.</p>
            </li>

            <li>
              <p>Experimental date/time type support was removed, since it
              seems that this initial implementation was misguided. FreeMarker
              2.2 will certainly support data/time.</p>
            </li>
          </ul>    </div>

        
            
  
  
  
  <h2 class="rank_section2"
        >
<a name="autoid_225"></a>Changes on the Java side  </h2>


              <div class="itemizedlist">
<ul>
            <li>
              <p>Bugfix: <tt style="color: #A03D10">Number</tt>s wrapped with
              <tt style="color: #A03D10">BEANS_WRAPPER</tt> was displayed with the
              <tt style="color: #A03D10">toString()</tt> method of wrapped object. Now they
              are rendered according to the <tt style="color: #A03D10">number_format</tt>
              setting, because multi-type variables that are both string and
              number are now output using their number value instead of the
              string value.</p>
            </li>

            <li>
              <p>Experimental date/time type support was removed, since it
              seems that this initial implementation was misguided. FreeMarker
              2.2 will certainly support data/time.</p>
            </li>
          </ul>    </div>

          
</div>

    <div class="navigation">
    <div class="pagers">
      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
<div class="pagerButton"><a href="versions_2_1.html"><span class="hideA">Next page: </span>2.1</a></div><div class="pagerButton"><a href="versions_2_1_2.html">Previous page</a></div><div class="pagerButton"><a href="app_versions.html">Parent page</a></div><div class="pagerButton"><a href="index.html">Contents</a></div>      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
    </div>
    <div class="breadcrumb">
<span class="breadcrumb">        You are here:
          <a href="index.html">Book</a>
            <b>></b>
          <a href="app.html">Appendixes</a>
            <b>></b>
          <a href="app_versions.html">Versions</a>
            <b>></b>
          2.1.1
</span>    </div>
    </div>

<table border=0 cellspacing=0 cellpadding=0 width="100%">
    <tr>
      <td colspan=2><img src="docgen-resources/img/none.gif" width=1 height=8 alt=""></td>
    <tr>
      <td align="left" valign="top"><span class="smallFooter">
            FreeMarker Manual -- For FreeMarker 2.3.16
            <br>
          HTML generated: 2009-12-08 08:38:54 GMT
      </span></td>
      <td align="right" valign="top"><span class="smallFooter">
          <a href="http://www.xmlmind.com/xmleditor/">
            <img src="docgen-resources/img/xxe.gif" alt="Edited with XMLMind XML Editor">
          </a>
      </span></td>
    </tr>
</table>
  <!-- Put pre-loaded images here: -->
  <div style="display: none">
    <img src="docgen-resources/img/linktargetmarker.gif" alt="Here!" />
  </div>
</body>
</html>

